export 'socket_models/send_message_payload.dart';

enum SocketEvent {
  sendMessage,
  sendError,
  sendHeartBeat
}

extension SocketEventExtension on SocketEvent {
  String get name {
    switch (this) {
      case SocketEvent.sendMessage:
        return 'sendMessage';
      case SocketEvent.sendError:
        return 'sendError';
      case SocketEvent.sendHeartBeat:
        return 'heartbeat';
    }
  }
}
